package com.example.recipe;

import android.os.Bundle;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends Activity implements OnClickListener {

	Button mer;
	TextView ingredienser;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		ingredienser = (TextView) findViewById(R.id.ingredienser);
		ingredienser.setTextColor(Color.BLUE);
		mer = (Button) findViewById(R.id.expand);
		mer.setOnClickListener(this);
	}
	
	//private OnClickListener listener = new OnClickListener();
	public void onClick(View v){
		Intent i = new Intent(MainActivity.this, Tillagning.class );
		startActivity(i);
		
	}
	



};
